home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / netz / hbbs / todo.txt < prev   
Text File  |  1996-06-29  |  14KB  |  360 lines

  1. ToDo
  2. ====
  3.  
  4. fix problem (not bug) with @^@ codes and special formatting..  I'm using sprintf()
  5. to do the formatting at the moment, so you just use std 'C' % formatting options
  6. like %-15s (-> @^-15s^ComputerType@ in a screen ), but if the item you are printing
  7. is more that than the amount of chars you specify it will not chop the rest off...
  8. the downside to this is that if you designs screens (like raider has done for me)
  9. they kind of mess up when you use long strings etc...
  10.  
  11. create an Error Watcher program, which sets up a port called "HBBS_Error_X" (where x is
  12. a number, so you can have more than one port..), then change hbbs_LogError()
  13. so it checks for those ports and sends them the details of the error in a message.
  14. Then a sysop can have a window pop up on his screen with the error... (great for
  15. finding problems with a setup..)  you could also have a program like SendOLM in
  16. HBBS:Utils that checks to see if a co-sysop or sysop is on-line and sends them the message
  17. too!  Cool....
  18.  
  19. Fix bug with OLM's and FrontEnd (when you're typing in a node password)
  20.  
  21. Implement Extra#? settings in structures.h
  22.  
  23. Implement Calls Allowed checking
  24.  
  25. New user Timelimit needs to be added somewhere (probably same place as NewUserConf...)
  26. or could be withing the NewUser door...
  27.  
  28. check that AddCreds door can accept a conference number as a parameter to allow
  29. for easy implementation of conference accounting..
  30.  
  31. make the TagFile door call a door called "OKToTag" with the conference num and filename as
  32. parameters (for easy implementation of conference accounting and file restriction doors)
  33. (like passworded files..)
  34.  
  35. Add Ctrl-C checking to DisplayScreen() and DisplaySpecialScreen()
  36.  
  37. Multinode chat door
  38.  
  39. Add File Password support (i.e. change tag door so search for a config file
  40. that has a list of filenames, and passwords. (maybe a confnum too, depends wether you'll ever
  41. have files of the same name in a difference conference..)
  42.  
  43.   Hmm, example config file (HBBS:Doors/System/TagFile/PasswordedFiles.CFG)
  44.  
  45.   Name_1=HydraBBSA10.LHA
  46.   Type_1=CONF ; could be CONF, or SYSTEM (i.e. filename can be full path if using SYSTEM)
  47.   Conf_1=5 ; HBBS Conf if CONF is used
  48.   Level_1=250 ; if you are below this access level you will be asked for the Password
  49.   Password_1=BETA ; where BETA is the actual password..
  50.  
  51. oh, and we also need another config file with a list of files that cannot
  52. be downloaded except by the sysop.. ie. HBBS:Doors/System/TagFile/RestrictedFiles.CFG
  53.  
  54.   File_1=HBBS:System/Data/User.Data
  55.   File_2=HBBS:Doors/System/TagFile/TagFile
  56.  
  57. Fix ctrl-x/up/down with GL_NODISTURB (door writers should not use GL_HISTORY until
  58. this is fixed if possible..)
  59.  
  60. have a cool DOOR_WriteTextSpecial() function that given the corrent flags, timeouts
  61. and string will display text on the screen as if it was coming from a 300baud modem
  62. as per the "wargame" film.
  63.  
  64. Write a GUI for AutoComment and finish it!
  65.  
  66. move some strings from N_ND->NodeSettings to the appropriate door's config file
  67. (e.g. usernameprompt should really be in FrontEnd.CFG...)
  68.  
  69. make it so that the node watch windows can be opened on a different public screen
  70. to that of the Control Program
  71.  
  72. add routine to show all availiable public screens and use instead of a string gadget
  73. when selecting screen to appear on.
  74. (unless reqtools has this option...)
  75.  
  76. add a routine to copy a list into HBBSCommon.c
  77.  
  78. implement ConfAcs files, add checkuser to get it to check for a users confacs file
  79. beging present, if not write a msg to a log file
  80. (refs: Access/Levels/Level_List, System/Data/ConfAcs/#?)
  81.  
  82. network mail! yeah!
  83.  
  84. option for sysop to set N_ND->DoorLogOverride=TRUE (button on GUI)
  85.  
  86. option on CommandPrompt door to log all commands user types (like DoorLog in /X)
  87.   (DoorLog in HBBS is a bit different...)
  88.  
  89. startup log
  90.  
  91. error checking on ConfAcs loading... (problems if file does not exist)
  92.  
  93. sentby ask door (see userdata structure)
  94.  
  95. sentby attach to uploads
  96.  
  97. spell checker on messages!
  98.  
  99. add a file_id.1 into files with a one-line description..
  100.  
  101. util to convert aminet cd dirs to hbbs filelistings..
  102.  
  103. and a 1 id to the filelist format same as F but with only a one-line description..
  104.  
  105. create docs with a list of /X config settings in and show the user
  106. what the same things are in HBBS
  107.  
  108. change watch window font depending on conference..
  109.  
  110. you can currently write a USER mail to ALL !
  111.  
  112. have it so that you can enable different logs for different users.  for instance,
  113. say you have a user who's a bit dogdey you might want to enbale the doorlog for
  114. him, but not for everyone else...  Coooooooooooool!
  115.  
  116.  
  117. doubleclicking on a user name in a listview window should bring up an
  118. account editor with the users details in! :-)
  119.  
  120. make the G door accept NOPROMPT as an option.
  121.  
  122. ban ;'s from user handles and names (and anything else that might go into a config
  123. file :-)
  124.  
  125. create a ST door so that sysop's can flag files for other users..
  126. --> you can do this anyway by editing the files in HBBS:System/Data/Taggedfiles/#?
  127.  
  128. add QUIET parameter to Tag_File
  129.  
  130. make node wait for SIGBREACK_CTRLC or sommat in the getline loop..
  131.  
  132. add a GL_KEEPPROMTIFBLANK which will return the prompt string (if specified) in
  133. N_ND->CurrentLine if the user delete's the prompt string and leaves a blank line!
  134.  
  135. make node, settings, and configure windows pop to front if already open.
  136.  
  137. add an [U]pload to the editor program..!
  138.  
  139. set a button on the control to open up a node's "Settings" window!
  140.  
  141. change the door commands and how doors are run..
  142.  
  143.   Ideas
  144.  
  145.   call <Name>_Door_<n>  <name>_Data_<n> so it avoid confusion
  146.   when using something like SCREEN or ECHO for a door type.
  147.  
  148.   also you need to be able to specify the paramters that were typed at the bbs
  149.   prompt as options for doors, be you must also be able to add your own options
  150.   to them as well,  example:
  151.  
  152.   FR_Type_1=NORMAL
  153.   FR_Data_1=HBBS:Doors/User/FileReverse/FR.HBBS {nodenum} {bbsoptions} CONF
  154.  
  155.   FRS_Type_1=NORMAL
  156.   FRS_Data_1=HBBS:Doors/User/FileReverse/FR.HBBS {nodenum} {bbsoptions} HOLD
  157.  
  158.   where {nodenum} is replaced by the node number, {bbsoptions} are replaced by the
  159.   options that were typed at the bbs prompt..  so, if a user on node 3 types
  160.  
  161.   FR N -2
  162.  
  163.   the actual command executed would be
  164.  
  165.   HBBS:Doors/User/FileReverse/FR.HBBS 3 N -2 CONF
  166.  
  167.   much better than just appending the params to a program.  also like this
  168.   you can place the parameters in any order you like.. thus being able to cope with
  169.   far more programs and it also makes the program more flexible.  it also
  170.   reduces the amount of seperate doors you might need..
  171.  
  172.   also I need a DOOR_Continue(TRUE/FALSE) and associated
  173.   N_ND->DoorContinue.
  174.  
  175.   if a door sets door continue to false the next door will not be run
  176.   if the configuration for a door has more than one door associated
  177.   with the command.
  178.  
  179.   e.g.
  180.  
  181.   the download door a) calls the HBBS:Doors/<blah>/Download.HBBS, then
  182.   it would b) call the door HBBS:Doors/<blah>/QuickStats.HBBS.
  183.  
  184.   obviosly, the download door might be cancelled before we actually
  185.   transfer some files, so it would set DoorContinue to FALSE then
  186.   the quickstats door would not be run..
  187.  
  188. change GetLine()
  189.  
  190.   Ideas..
  191.  
  192.   instead of going TRUE,TRUE,0,blahh..  use FLAGS
  193.  
  194.   so we need these flags
  195.  
  196.   EDIT      // left/right cursor keys and backspace + delete
  197.   HISTORY   // allow cursor up/down to gothrough the history
  198.   DISPLAY   // display text on screen at all ?
  199.   LINEWRAP  // if reached maxlen and last key pressed was a non space
  200.             // char then copy all data back to the previous space char
  201.             // to N_ND->CurrentLineWRAP and return IN_GOTLINE
  202.   NORETURN  // does not print a "\r\n" when the user presses return
  203.   IMMEDIATE // returns when the user has typed in MaxLen chars
  204.             // don'tuse with linewrap :-)
  205.             // use immediate and noreturn for hoykey support.  -> COOL
  206.  
  207.   also we need to be able to prompt the user with a default string for an option.
  208.  
  209.   timeout is in micros
  210.  
  211.   An example prototype might be
  212.  
  213.   GetLine(Flags,PasswordChar,MaxLen,TimeOut,PromptStr);
  214.  
  215.  
  216.   the above example takes less params then the current version *AND* offers more
  217.   scope
  218.   -------------
  219.  
  220. existence of tagged files must be verifyied when the saved tags are loaded in
  221. again (when a user logs on, see node_input.c)
  222.  
  223. change str_CtrlScrnName from a set length variable to a string pointer, and allow
  224. changing between a public screen name and "CtrlScrn", that way you can hbbs on a WB
  225. screen.
  226.  
  227. Use this function more!!!
  228. -> HBBS_LogError(BBSGlobal->ErrorLogFile,ERR_GENERAL,outstr,TYPE_WARNING);
  229.  
  230. add options for /X help for sysop's and users to help them change between systems
  231. (i.e. when a sysop presses F10 wanting to log a user off tell him to press
  232. SHIFT+F10 instead of just F10..etc... do the same sort of things for door commands..)
  233.  
  234. when a node starts it must check the playpen and work for file and move/delete them
  235. accordingly. (check id of last user that called from log files..)
  236.  
  237. Add NamesNotAllowed files to Node_XX directories, don't make it a config file,
  238. just have a list of names so it's easier to add/remove names rather than having to
  239. change name_xx = name_xx when you remove a name from the middle of the list.
  240.  
  241. Add tones and tonnes of error messages that are logged in the logfile..
  242.  
  243. Add DOOR_HuntScreen() to door library to search for screens in the node
  244. directory and then the screens directory, with option for adding a specified access
  245. level.  e.g. DOOR_HuntScreen("Files",20); where it would search for Files_20.TXT...
  246.  
  247. make HBBS_SaveUser() or whatever to search for users with a status of
  248. user_overwritable
  249.  
  250. implement LanguageName_XX and LanguageExtn_XX for screens...
  251.  
  252. change ALL strncpy()'s to strNcpy()!!!  IMPORTANT!! (strncpy() does not always null terminate strings..)
  253.  
  254. add option "SkipOK" to Device config so that if you have a weird modem you
  255. can tell the bbs not to wait for the OK string after commands..
  256.  
  257. when control is opened on a 16 colour screen set the first 8 colours
  258. to the standard ANSI colours and set the next 4 colours to the usual WB colours.
  259. then set the dripens for drawing windows/gadgets etc to point to the usual colours
  260. --> nearly done, sets palette and dri-pens, but just can't get the background
  261.     of the screen and windows to be anthing other then colour 0... Hrmmm..
  262.  
  263.  
  264. get the Node program to run a door just after frontend called "Speed_XX.HBBS", where
  265. xx is replaced by the baud rate of the caller..
  266.  
  267. create caller logs (ie, when a user logs on and at what speed and all that shite..
  268.  
  269. add timeout on doors,  best place would be where NODE looks at messages coming
  270. from the door program,  you could set a timer when the door has started (when you get
  271. a doorstart IO message) and see if it times out, if it does then cancel running that
  272. door.  Also you'd have to reset the timer everytime the node received a message
  273. from the door,  BUT, file transfers will be sending all their data via messages
  274. so you could only reset the timer on bog standard messages,  perhaps set up a new
  275. type of message for use only by transfer protocols that would be skipped...
  276.  
  277. have a button in the node's settings window to manually stop a door.  This is cool
  278. if a door has crashed and you want the system to continue..  also the timeout on the
  279. door function would need to call the same cleanup function.  was thinking of being
  280. able to pass the a pointer to the door you want to cancel as a parameter, to
  281. HBBS_CleanupDoor()
  282.  
  283. have option for sysop, so that they can choose to strip all ansi colour changes
  284. from the watch window, thus speeding up the user's display. (this would also be better
  285. if the sysop was using watch windows on a 2,4 or 8 colour screen.)
  286.  
  287. add time, bytes etc to the HBBS_ModifyString() function in HBBSNode.C.
  288. --> done, still need to add bytes to ModifyString() tho.
  289.  
  290. create a history file for the wall with the users handle on it..
  291.  
  292. add in developer docs and specify the point that you can't have config item options
  293.   as follows
  294.  
  295.   Item_XX
  296.   Item_XX_Blah
  297.  
  298.   as HBBS_RemoveCfgItem("Item_#?") would remove ALL the items above..
  299.  
  300.   oh, and don't use ?'s or #?'s in item names :-)
  301.  
  302. state importance of taking a copy of N_ND->CurrentLine before passing it to another
  303. door as a parameter, in developer docs...
  304.  
  305. have userhandle, and status (u/l'd d/l'd pw failed, scanned, paged etc) all on the
  306. window title of a watch screen or window..
  307. --> handle, group and speed are displayed..
  308.  
  309.  
  310. ToDone :-)
  311. ======
  312.  
  313. fix bug with a closed console screen sometimes crashing the system, to check do this:
  314. load up node3, close the screen, load up term. use nullmodem.device, unit 7.  and
  315. try and log in.  it crashed when you press return after typing in a correct handle..
  316. --> done, it was Node_Console.c's SetWatchTitles() on a closed window...
  317.  
  318. add @^PAUSE_TIMEOUT^@ with options timeout length
  319. --> done, it's @^TPAUSE^<seconds>@
  320.  
  321. make it so that if you pass 0 as a buffersize to HBBS_CopyFile() then it'll use
  322. a default value. (sysop specifyable...!! cool idea!)
  323. --> done, see BBSGlobal->CopyBufferSize
  324.  
  325. abort prompt when cancelling message
  326. --> done
  327.  
  328. implement bbsglobal->CallsEver
  329. --> done
  330.  
  331. fix who door, long names/handles cause it to fuck itself..
  332. --> done
  333.  
  334. if settings window is open, bring it to front
  335. --> done
  336.  
  337. write the following to the CallersLog file when a user logs off
  338. uploads, downloads, ulbytes, dlbytes, nukes, pages, msgs read, msgs written
  339. then it'll be dead easy to provide statistics for bulletins etc!
  340. --> done
  341.  
  342. fix small bug in @^SYSDOOR@ANNOUNCE OFF@, the command the gets run has two spaces
  343. between the node number and the OFF parameter instead of one.
  344. e.g. 19-JUN-1996 18:56:16 Handle: hydra, Conf: Amiga Warez, Door: HBBS:Doors/System/Announce/Announce.HBBS 3  OFF
  345. --> done
  346.  
  347. option to have a list of users that dooroverride is set to on for
  348. (i.e.  a list of suspect users that have been trying to play around with your bbs!)
  349. -->done, created SetSuspect system door
  350.  
  351. option for getline, GL_NODISTURB.  needs to make it so that if you specify a maxlen
  352. then it means it musn't move things on the same line after the input position
  353. (e.g.  see why on the sent door)
  354.  need to be able to have  "Enter Name: [            ]", at the moment the ] gets moved
  355. --> done
  356.  
  357. RAW input for doors (i.e. show a text fiel and let users press keys to pause it etc..)
  358. --> done, see DOOR_CheckRaw(Flags);
  359.  
  360.